package com.example.mybatis.utils.exception;

public class MyException extends RuntimeException{
    private  String errCode;
    private  String errMsg;

    public MyException(String errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }

    public String getErrCode() {
        return errCode;
    }

    public String getErrMsg() {
        return errMsg;
    }



}
